package lab01;
public class Test07 {
    public static void main(String[] args) {
        char grade='\0';
        System.out.println("pleasse input a char");
        try
        {
            grade=(char)System.in.read();
        }catch(Exception e)
        {
            System.out.println(e);
        }
        switch(grade)
        {
            case 'A':
                System.out.println("范围在85-100");break;
            case 'B':
                System.out.println("范围在70-85");break;
            case 'C':
                System.out.println("范围在60-70");break;
            case 'D':
                System.out.println("范围在60分以下");break;
        }
    }
}
